package drumkit;

import java.util.ArrayList;

/**
 * Created by IntelliJ IDEA.
 * User: Aleksey
 * Date: 02.01.2008
 * Time: 18:10:44
 */
public class PlayingStyle {
    private String name;
    private String note;
    private ArrayList<Integer> keys;

    public PlayingStyle() {
        note = null;
        keys = new ArrayList<Integer>();
    }

    public PlayingStyle(String name) {
        this();
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Integer getKeyCount() {
        return keys.size();
    }

    public void addKey(Integer key) {
        keys.add(key);
    }

    public Integer getKey(Integer index) {
        return keys.get(index);
    }
}
